#include <bits/stdc++.h>
using namespace std;
const int N=100100;
int n,a[N];
int main(){
    ios::sync_with_stdio(false);
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++)cin>>a[i];
    sort(a+1,a+n+1);
    int ans=0,s=0;
    for(int i=1;i<=n+1;i++){
        if(a[i]!=a[i-1]){
            ans=max(ans,s);
            s=1;
        }
        else s++;
    }
    cout<<ans;
    return 0;
}
